<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹珠小游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <h1>弹珠小游戏</h1>
    <button class="btn rule-btn"  id="rules-btn">查看规则</button>
    <div class="show_rule">
        <h2>规则</h2>
      <p>
        用你的 !!右键!! 和 !!左键!! 移动球拍，使球反弹和打破砖块。
      </p>
      <p>如果你漏了球，你的得分和砖块将被重置。</p>
      <button class="btn" id="close-btn">Close</button>
    </div>

    <canvas id="canvas" width="800" height="600"></canvas>

    <script src="script.js"></script>
</body>
</html>